<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8" />
        <title>PAS-SMA</title>
         <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">
	<link type="text/css" rel="stylesheet" href="http://localhost/pas-web/assets/grocery_crud/themes/flexigrid/css/flexigrid.css" />
	<script src="http://localhost/pas-web/assets/grocery_crud/js/jquery-1.8.2.min.js"></script>
	<script src="http://localhost/pas-web/assets/grocery_crud/themes/flexigrid/js/cookies.js"></script>
	<script src="http://localhost/pas-web/assets/grocery_crud/themes/flexigrid/js/flexigrid.js"></script>
	<script src="http://localhost/pas-web/assets/grocery_crud/themes/flexigrid/js/jquery.form.js"></script>
	<script src="http://localhost/pas-web/assets/grocery_crud/themes/flexigrid/js/jquery.numeric.js"></script>
	<script src="http://localhost/pas-web/assets/grocery_crud/themes/flexigrid/js/jquery.printElement.min.js"></script>

</head>
<body>
    
	<div style='height:20px;'></div>
    
<div>
		
	<div id="hidden-operations"></div>
	<div id='report-error' class='report-div error'></div>
	<div id='report-success' class='report-div success report-list' ></div>	
		<div class="flexigrid" style='width: 98%;'>
			<div class="mDiv">
				<div class="ftitle">
					&nbsp;
				</div>
				<div title="Minimize/Maximize" class="ptogtitle">
					<span></span>
				</div>
			</div>
			<div id='main-table-box'>
			
				<div class="tDiv">
						<div class="tDiv2">
							<a href='http://localhost/pas-web/referensi/asal_koleksi/add' title='Tambah Asal Koleksi' class='add-anchor'>
								<div class="fbutton">
									<div>
										<span class="add">Tambah Data Keluarga</span>
									</div>
								</div>
		            		</a>
						<div class="btnseparator"></div>
						</div>
						<div class="tDiv3">
					        <a class="export-anchor" data-url="http://localhost/pas-web/referensi/asal_koleksi/export" target="_blank">
							<div class="fbutton">
								<div>
									<span class="export">Export</span>
								</div>
							</div>
		            		</a>
							<div class="btnseparator"></div>
							<a class="print-anchor" data-url="http://localhost/pas-web/referensi/asal_koleksi/print">
							<div class="fbutton">
								<div>
									<span class="print">Print</span>
								</div>
							</div>
		            		</a>
							<div class="btnseparator"></div>											
						</div>
						<div class='clear'></div>
				</div>
				
				<div id='ajax_list'>
					<div class="bDiv" >
						<table cellspacing="0" cellpadding="0" border="0" id="flex1">
						<thead>
							<tr class='hDiv'>
								<th>
									<div class="text-left field-sorting " rel='NOMOR_INDUK'>No Urut</div>
								</th>
								<th>
									<div class="text-left field-sorting " rel='NM_ASAL_KOLEKSI'>Nama Keluarga</div>
								</th>
								<th>
									<div class="text-left field-sorting " rel='NM_ASAL_KOLEKSI'>Hubungan Keluarga</div>
								</th>
								<th>
									<div class="text-left field-sorting " rel='NM_ASAL_KOLEKSI'>Jenis Kelamin</div>
								</th>
								<th>
									<div class="text-left field-sorting " rel='NM_ASAL_KOLEKSI'>Kota lahir</div>
								</th>
								<th >
									<div class="text-left field-sorting " rel='NM_ASAL_KOLEKSI'>Tanggal Lahir</div>
								</th>
								<th >
									<div class="text-left field-sorting " rel='NM_ASAL_KOLEKSI'>Golongan Darah</div>
								</th>
								<th >
									<div class="text-left field-sorting " rel='NM_ASAL_KOLEKSI'>Agama</div>
								</th>
								<th align="left" abbr="tools" axis="col1" class="" width='20%'>
									<div class="text-right">Pilihan</div>
								</th>
							</tr>
						</thead>		
						<tbody>	
							<?php foreach ($keluarga as $item) :?>		    
							<tr  class="<?php echo alternator('row','erow');?>">
								<td>
									<div class='text-left'><?php echo $item->NO_URUT; ?></div>
								</td>
								<td>
									<div class='text-left'><?php echo $item->NM_KELUARGA; ?></div>
								</td>
								<td>
									<div class='text-left'>
										<?php 
											switch ($item->KD_HUB_KELUARGA) {
												case 'I':
													echo "Istri";
													break;
												case 'S':
													echo "Suami";
													break;
												case 'K':
													echo "Anak Kandung";
													break;
												case 'T':
													echo "Anak Tiri";
													break;
												default:
													echo "Lain-lain";
													break;
											}
										?>

									</div>
								</td>
								<td>
									<div class='text-left'><?php if($item->KD_JENIS_KELAMIN =='1'): echo "Laki-laki"; else : echo "Perempuan"; endif; ?></div>
								</td>
								<td>
									<div class='text-left'><?php echo $item->KOTA_LAHIR; ?></div>
								</td>
								<td>
									<div class='text-left'><?php echo $item->TANGGAL_LAHIR; ?></div>
								</td>
								<td>
									<div class='text-left'><?php echo $item->NM_GOL_DARAH;?></div>
								</td>
								<td>
									<div class='text-left'><?php echo $item->NM_AGAMA; ?></div>
								</td>
								<td align="left" width='20%'>
									<div class='tools'>				
									    <a href='http://localhost/pas-web/referensi/asal_koleksi/delete/1' title='Hapus Asal Koleksi' class="delete-row" >
				                    	<span class='delete-icon'></span>
				                    	</a>
				                        <a href='http://localhost/pas-web/referensi/asal_koleksi/edit/1' title='Ubah Asal Koleksi'><span class='edit-icon'></span></a>																		
				                    	<div class='clear'></div>
									</div>
								</td>
							</tr>
							<?php endforeach; ?>			        
							
						</tbody>
						</table>
					</div>
				</div>
				<div class="pDiv">
					<div class="pDiv2">
						<div class="btnseparator">
						</div>
					</div>
					<div style="clear: both;">
					</div>
				</div>
			</div>
		</div>
</div>
<?php echo "<pre>";print_r($pendidikan_formal); echo "</pre>";?>
<?php echo "<pre>";print_r($pendidikan_nonformal); echo "</pre>";?>
<?php echo "<pre>";print_r($riwayat_pangkat); echo "</pre>";?>
<?php echo "<pre>";print_r($riwayat_jabatan); echo "</pre>";?>
<?php echo "<pre>";print_r($pengabdian); echo "</pre>";?>
</body>
</html>
